#pragma once
#include <crtdbg.h>
#include <string>
#include <strstream>
#include <iostream>
#include <tchar.h>

#ifdef _UNICODE
typedef std::wstring tstring;
typedef std::wostringstream tostringstream;
typedef std::wistringstream tistringstream;
typedef std::wofstream tofstream;
typedef std::wstringstream tstringstream;
typedef std::string bytestring;
#else
typedef std::string tstring;
typedef std::ostringstream tostringstream;
typedef std::istringstream tistringstream;
typedef std::ofstream tofstream;
typedef std::stringstream tstringstream;
typedef std::string bytestring;
#endif